/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package prueba2taller;

/**
 *
 * @author Maxxx
 */
public class Taller extends javax.swing.JFrame {

    /**
     * Creates new form Taller
     */
    public Taller() {
        initComponents();        
               
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenu4 = new javax.swing.JMenu();
        PanelEscritorio = new javax.swing.JDesktopPane();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        jIcliente = new javax.swing.JMenuItem();
        jIautos = new javax.swing.JMenuItem();
        jImarcas = new javax.swing.JMenuItem();
        jImodelos = new javax.swing.JMenuItem();
        jIrepuestos = new javax.swing.JMenuItem();
        jImecanicos = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();
        jMenuItem7 = new javax.swing.JMenuItem();
        jMenu5 = new javax.swing.JMenu();
        jMenuItem5 = new javax.swing.JMenuItem();
        jMenuItem6 = new javax.swing.JMenuItem();
        jMenuItem9 = new javax.swing.JMenuItem();
        jMenu6 = new javax.swing.JMenu();
        jMenuItem11 = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jMenuItem1 = new javax.swing.JMenuItem();

        jMenu4.setText("jMenu4");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        PanelEscritorio.setBackground(new java.awt.Color(0, 0, 204));
        PanelEscritorio.setAutoscrolls(true);

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N
        jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel1.setText("Si quiere acceder a su Intranet ");

        jLabel2.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N
        jLabel2.setText("Precione el botón Ingresar");

        jButton1.setForeground(new java.awt.Color(255, 0, 0));
        jButton1.setText("INGRESAR");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout PanelEscritorioLayout = new javax.swing.GroupLayout(PanelEscritorio);
        PanelEscritorio.setLayout(PanelEscritorioLayout);
        PanelEscritorioLayout.setHorizontalGroup(
            PanelEscritorioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelEscritorioLayout.createSequentialGroup()
                .addContainerGap(60, Short.MAX_VALUE)
                .addGroup(PanelEscritorioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PanelEscritorioLayout.createSequentialGroup()
                        .addComponent(jLabel1)
                        .addGap(70, 70, 70))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PanelEscritorioLayout.createSequentialGroup()
                        .addComponent(jLabel2)
                        .addGap(96, 96, 96))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PanelEscritorioLayout.createSequentialGroup()
                        .addComponent(jButton1)
                        .addGap(223, 223, 223))))
        );
        PanelEscritorioLayout.setVerticalGroup(
            PanelEscritorioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelEscritorioLayout.createSequentialGroup()
                .addGap(95, 95, 95)
                .addComponent(jLabel1)
                .addGap(18, 18, 18)
                .addComponent(jLabel2)
                .addGap(18, 18, 18)
                .addComponent(jButton1)
                .addContainerGap(218, Short.MAX_VALUE))
        );
        PanelEscritorio.setLayer(jLabel1, javax.swing.JLayeredPane.DEFAULT_LAYER);
        PanelEscritorio.setLayer(jLabel2, javax.swing.JLayeredPane.DEFAULT_LAYER);
        PanelEscritorio.setLayer(jButton1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jMenu1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/angel.png"))); // NOI18N
        jMenu1.setText("Mantenedor");

        jIcliente.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/lightbulb_add.png"))); // NOI18N
        jIcliente.setText("Cliente");
        jIcliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jIclienteActionPerformed(evt);
            }
        });
        jMenu1.add(jIcliente);

        jIautos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/administrator.png"))); // NOI18N
        jIautos.setText("Autos");
        jIautos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jIautosActionPerformed(evt);
            }
        });
        jMenu1.add(jIautos);

        jImarcas.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/advertising.png"))); // NOI18N
        jImarcas.setText("Marcas");
        jImarcas.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jImarcasActionPerformed(evt);
            }
        });
        jMenu1.add(jImarcas);

        jImodelos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/advanced_data_grid.png"))); // NOI18N
        jImodelos.setText(" Modelos");
        jImodelos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jImodelosActionPerformed(evt);
            }
        });
        jMenu1.add(jImodelos);

        jIrepuestos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/align_above.png"))); // NOI18N
        jIrepuestos.setText("Repuestos");
        jIrepuestos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jIrepuestosActionPerformed(evt);
            }
        });
        jMenu1.add(jIrepuestos);

        jImecanicos.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/android.png"))); // NOI18N
        jImecanicos.setText("Mecanicos");
        jImecanicos.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jImecanicosActionPerformed(evt);
            }
        });
        jMenu1.add(jImecanicos);

        jMenuBar1.add(jMenu1);

        jMenu3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/align_right.png"))); // NOI18N
        jMenu3.setText("Recepción");

        jMenuItem7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/align_none.png"))); // NOI18N
        jMenuItem7.setText(" Ficha Auto");
        jMenuItem7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem7ActionPerformed(evt);
            }
        });
        jMenu3.add(jMenuItem7);

        jMenuBar1.add(jMenu3);

        jMenu5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/align_bellow.png"))); // NOI18N
        jMenu5.setText(" Mantención");

        jMenuItem5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/align_bellow.png"))); // NOI18N
        jMenuItem5.setText(" Mantencion Repuestos");
        jMenuItem5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem5ActionPerformed(evt);
            }
        });
        jMenu5.add(jMenuItem5);

        jMenuItem6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/align_center.png"))); // NOI18N
        jMenuItem6.setText("Mantencion");
        jMenuItem6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem6ActionPerformed(evt);
            }
        });
        jMenu5.add(jMenuItem6);

        jMenuItem9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/alitalk.png"))); // NOI18N
        jMenuItem9.setText("Mecanico Mantencion");
        jMenuItem9.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem9ActionPerformed(evt);
            }
        });
        jMenu5.add(jMenuItem9);

        jMenuBar1.add(jMenu5);

        jMenu6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/advertising.png"))); // NOI18N
        jMenu6.setText("Reporte");

        jMenuItem11.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/printer.png"))); // NOI18N
        jMenuItem11.setText("Imprimir reporte");
        jMenu6.add(jMenuItem11);

        jMenuBar1.add(jMenu6);

        jMenu2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/anti_xss.png"))); // NOI18N
        jMenu2.setText("Acerca de...");

        jMenuItem1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/prueba2taller/imagenes/android.png"))); // NOI18N
        jMenuItem1.setText(" Quienes Somos");
        jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem1ActionPerformed(evt);
            }
        });
        jMenu2.add(jMenuItem1);

        jMenuBar1.add(jMenu2);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(PanelEscritorio)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(PanelEscritorio)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jMenuItem6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem6ActionPerformed
        JInternalMantencion man=new JInternalMantencion();
        PanelEscritorio.add(man);
        man.show();
    }//GEN-LAST:event_jMenuItem6ActionPerformed

    private void jIrepuestosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jIrepuestosActionPerformed
        JInternalRepuesto re=new JInternalRepuesto();
        PanelEscritorio.add(re);
        re.show();
               
    }//GEN-LAST:event_jIrepuestosActionPerformed

    private void jIclienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jIclienteActionPerformed
        JInternalClientes cl=new JInternalClientes();
        PanelEscritorio.add(cl);
        cl.show();
        
    }//GEN-LAST:event_jIclienteActionPerformed

    private void jIautosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jIautosActionPerformed
        JInternalAutos au=new JInternalAutos();
        PanelEscritorio.add(au);
        au.show();
    }//GEN-LAST:event_jIautosActionPerformed

    private void jImarcasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jImarcasActionPerformed
        JInternalMarcas ma=new JInternalMarcas();
        PanelEscritorio.add(ma);
        ma.show();
    }//GEN-LAST:event_jImarcasActionPerformed

    private void jImodelosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jImodelosActionPerformed
        JInternalModelos mo=new JInternalModelos();
        PanelEscritorio.add(mo);
        mo.show();
    }//GEN-LAST:event_jImodelosActionPerformed

    private void jImecanicosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jImecanicosActionPerformed
        JInternalMecanicos me=new JInternalMecanicos();
        PanelEscritorio.add(me);
        me.show();
    }//GEN-LAST:event_jImecanicosActionPerformed

    private void jMenuItem7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem7ActionPerformed
        JInternalFichaAuto fi=new JInternalFichaAuto();
        PanelEscritorio.add(fi);
        fi.show();
    }//GEN-LAST:event_jMenuItem7ActionPerformed

    private void jMenuItem5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem5ActionPerformed
        JInternalMantencionRepuesto mare=new JInternalMantencionRepuesto();
        PanelEscritorio.add(mare);
        mare.show();
    }//GEN-LAST:event_jMenuItem5ActionPerformed

    private void jMenuItem9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem9ActionPerformed
        JInternalMecanicoMantencion mema=new JInternalMecanicoMantencion();
        PanelEscritorio.add(mema);
        mema.show();
    }//GEN-LAST:event_jMenuItem9ActionPerformed

    private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed
        JInternalAcercaDe acer=new JInternalAcercaDe();
        PanelEscritorio.add(acer);
        acer.show();
    }//GEN-LAST:event_jMenuItem1ActionPerformed

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        Registro reg=new Registro();
        reg.setLocationRelativeTo(null);
        reg.setVisible(true);
    }//GEN-LAST:event_jButton1ActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Taller.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Taller.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Taller.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Taller.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Taller().setVisible(true);
                
                
            }
        });
       
        
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JDesktopPane PanelEscritorio;
    private javax.swing.JButton jButton1;
    private javax.swing.JMenuItem jIautos;
    private javax.swing.JMenuItem jIcliente;
    private javax.swing.JMenuItem jImarcas;
    private javax.swing.JMenuItem jImecanicos;
    private javax.swing.JMenuItem jImodelos;
    private javax.swing.JMenuItem jIrepuestos;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenu jMenu5;
    private javax.swing.JMenu jMenu6;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem1;
    private javax.swing.JMenuItem jMenuItem11;
    private javax.swing.JMenuItem jMenuItem5;
    private javax.swing.JMenuItem jMenuItem6;
    private javax.swing.JMenuItem jMenuItem7;
    private javax.swing.JMenuItem jMenuItem9;
    // End of variables declaration//GEN-END:variables
}
